Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Simplify .php extension chopping in getNameInput #51843

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

osbre
Copy link
Contributor

@osbre osbre commented Jun 19, 2024

No description provided.

@taylorotwell taylorotwell merged commit 9b9e862 into laravel:11.x Jun 19, 2024
28 checks passed
@jasonmccreary
Copy link
Contributor

While very edgy, it's worth noting these aren't logically equivalent. Consider passing a make command an odd path like: tests/Feature/fixtures.php/SomeTest.

With this change, name is, incorrectly, tests/Feature/fixtures. Before it was, correctly, tests/Feature/fixtures.php/SomeTest.

@osbre
Copy link
Contributor Author

osbre commented Jun 26, 2024

Thanks @jasonmccreary, sent a fix: #51909

@osbre osbre deleted the fix/getNameInput branch June 26, 2024 00:45
jasonmccreary added a commit to jasonmccreary/framework that referenced this pull request Jun 26, 2024
jasonmccreary added a commit to jasonmccreary/framework that referenced this pull request Jun 26, 2024
taylorotwell pushed a commit that referenced this pull request Jun 27, 2024
* Add failing test

* Revert "[11.x] Simplify `.php` extension chopping in `getNameInput` (#51843)"

This reverts commit 9b9e862.
@driesvints
Copy link
Member

This one was reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants